<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>view</title>
</head>
<body>
    <div>
        <h1>查询</h1> 
        <hr/>
            <table border="1">
                <tr>
                    <th>id</th>
                    <th>title</th>
                    <th>description</th>
                    <th>操作</th>
                </tr>
                <foreach name="rows" item="row" >    
                <tr>
                    <td>{$row.id}</td>
                    <td>{$row.title}</td>
                    <td>{$row.description}</td>
                    <td><a href="{:U('Home/Category/delDo',array('id'=>$row['id']))}">删除</a>&nbsp;<a href="{:U('Home/Category/edit',array('id'=>$row['id']))}">编辑</a></td>
                </tr>
                </foreach>
            </table>
    </div>
</body>
</html>
